package com.zzc.emotisenseclassroom.common.domainexception;

import com.zzc.ZzcException.BaseZzcException;

import java.io.Serial;

/**
 * Copyright Zzc
 * FileName: UserIdAlreadyExists
 * Author:   Zzc
 * Date:     2024/4/2721:21
 * Description:工号/学号 已存在
 * hISTORY:
 * <author>  <time>     <version>    <desc>
 * 作者姓名   修改时间       版本号       描述
 * Zzc                   1.0.0
 */
public class UserIdAlreadyExists extends BaseZzcException {
    @Serial
    private static final long serialVersionUID = 6161815989013833698L;

    public UserIdAlreadyExists(String schoolName){
        super(String.format("【%s】已存在该工号/学号", schoolName), 1006);
    }
}
